package org.skipper.samples.start;

import com.dtflys.forest.springboot.annotation.ForestScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author shoujian
 * Date: 2023-02-06
 * Time: 14:33
 */
@SpringBootApplication
@Configuration
@ForestScan(basePackages = "org.skipper.samples")
public class Application {

    public static void main(String[] args) {
        try {
            SpringApplication.run(Application.class, args);
            System.out.println("Server startup done.");
        }catch (Exception e){
            e.printStackTrace();
        }
    }

}
